package light.head.model;

import java.io.Serializable;
import java.util.Date;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table
public class OperationLog implements Serializable{

	/**
	 * 操作日志表
	 */
	private static final long serialVersionUID = -5264511335551232111L;
	
	private Integer code;		// 操作日志ID
	private String cu;			// 操作人
	private Date ct;			// 时间
	private Byte module;		// 功号编能:1.采购申请；2.分配任务；3.我的任务
	private String operation;	// 所做操作:1.添加；2.删除；3.修改；4.屏蔽；5.解除屏蔽
	private String kw;			// 操作关键字
	private Integer oc;			// 机构编号
	
	
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	
	@Column
	public String getCu() {
		return cu;
	}
	
	@Column
	public Date getCt() {
		return ct;
	}
	
	@Column
	public Byte getModule() {
		return module;
	}
	
	@Column
	public String getOperation() {
		return operation;
	}
	
	@Column
	public String getKw() {
		return kw;
	}
	
	@Column
	public Integer getOc() {
		return oc;
	}
	
	
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setCu(String cu) {
		this.cu = cu;
	}
	public void setCt(Date ct) {
		this.ct = ct;
	}
	public void setModule(Byte module) {
		this.module = module;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public void setKw(String kw) {
		this.kw = kw;
	}
	public void setOc(Integer oc) {
		this.oc = oc;
	}

}
